﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations.Schema;

namespace LetLord.Models
{
    [Table("PropertyPhoto")]
    public class PropertyPhoto : Image
    {
        // 1:many with ResidentialProperty
        public int ResidentialPropertyId { get; set; }
        [ForeignKey("ResidentialPropertyId")]
        public virtual ResidentialProperty ResidentialProperty { get; set; }
    }
}